;    CIV II EVENTS - ANCIENT EMPIRES v1.1a (9/99)
;   (Revised for the "End of the Bronze Age" Scenario)
;
;
@BEGINEVENTS

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
15
@ENDIF

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

@IF
NOSCHISM
defender=anybody
@THEN
@ENDIF

@IF
Turn
turn=every
@THEN
makeaggression
who=Hittites
whom=Egyptians
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Egyptians
whom=Hittites
@ENDIF
@IF
NEGOTIATION
talker=Hittites
talkertype=humanorcomputer
listener=Egyptians
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Egyptians
talkertype=humanorcomputer
listener=Hittites
listenertype=humanorcomputer
@THEN
@ENDIF

@IF
Turn
turn=every
@THEN
makeaggression
who=Assyrians
whom=Babylonians
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Babylonians
whom=Assyrians
@ENDIF
@IF
NEGOTIATION
talker=Assyrians
talkertype=humanorcomputer
listener=Babylonians
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Babylonians
talkertype=humanorcomputer
listener=Assyrians
listenertype=humanorcomputer
@THEN
@ENDIF

@IF
Turn
turn=every
@THEN
makeaggression
who=Sea Peoples
whom=Egyptians
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Egyptians
whom=Sea Peoples
@ENDIF
@IF
NEGOTIATION
talker=Sea Peoples
talkertype=humanorcomputer
listener=Egyptians
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Egyptians
talkertype=humanorcomputer
listener=Sea Peoples
listenertype=humanorcomputer
@THEN
@ENDIF

@IF
Turn
turn=every
@THEN
makeaggression
who=Sea Peoples
whom=Hittites
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Hittites
whom=Sea Peoples
@ENDIF
@IF
NEGOTIATION
talker=Sea Peoples
talkertype=humanorcomputer
listener=Hittites
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Hittites
talkertype=humanorcomputer
listener=Sea Peoples
listenertype=humanorcomputer
@THEN
@ENDIF

@IF
Turn
turn=every
@THEN
makeaggression
who=Sea Peoples
whom=Minor Powers
@ENDIF
@IF
Turn
turn=every
@THEN
makeaggression
who=Minor Powers
whom=Sea Peoples
@ENDIF
@IF
NEGOTIATION
talker=Sea Peoples
talkertype=humanorcomputer
listener=Minor Powers
listenertype=humanorcomputer
@THEN
@ENDIF
@IF
NEGOTIATION
talker=Minor Powers
talkertype=humanorcomputer
listener=Sea Peoples
listenertype=humanorcomputer
@THEN
@ENDIF

@IF
citytaken
city=Memphis
attacker=anybody
defender=Egyptians
@THEN
justonce
text
Alas, mighty Memphis lies crushed beneath the invader's heel!
endtext
changemoney
receiver=TRIGGERATTACKER
amount=500
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
citytaken
city=Babylon
attacker=anybody
defender=Babylonians
@THEN
justonce
text
Behold! "The Great Whore of Babylon" has fallen to the enemy!
endtext
changemoney
receiver=TRIGGERATTACKER
amount=500
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
citytaken
city=Hattusas
attacker=anybody
defender=Hittites
@THEN
justonce
text
O how ye mighty have fallen! Once invincible Hattusas
lies sacked and looted!
endtext
changemoney
receiver=TRIGGERATTACKER
amount=500
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
citytaken
city=Nineveh
attacker=anybody
defender=Assyrians
@THEN
justonce
text
The fires of Nineveh mount up to the skies. A terrible
retribution is visited upon her! 
endtext
changemoney
receiver=TRIGGERATTACKER
amount=500
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
citytaken
city=Mycenae
attacker=anybody
defender=Greeks
@THEN
justonce
text
Sacked and burned, "Golden Mycenae" meets with the fate of Troy!
endtext
changemoney
receiver=TRIGGERATTACKER
amount=500
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
citytaken
city=Hattusas
attacker=anybody
defender=anybody
@THEN
GIVETECHNOLOGY
technology=14
receiver=TRIGGERATTACKER
@ENDIF

@IF
citytaken
city=Hattusas
attacker=Assyrians
defender=anybody
@THEN
justonce
text
While the Assyrian army celebrates the conquest of Hattusas, 
Sargon's Academy burns to the ground back home in Nineveh. 
Most of the senior instructors are killed, making this a 
bittersweet day indeed for the Assyrian Empire!
endtext
PLAYWAVEFILE
citysack.wav
@ENDIF

@IF
UNITKILLED
unit=Rameses III
attacker=anybody
defender=Egyptians
@THEN
TEXT
^Rameses III is slain in battle! Who will defend ye now, O Egypt?
^The victors loot 500 Gold from the Egyptian camp!
ENDTEXT
changemoney
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
UNITKILLED
unit=Nebuchadnezzar I
attacker=anybody
defender=Babylonians
@THEN
TEXT
^Tremble O' Babylon! Nebuchadnezzar I has been slain in battle!
^The victors scavenge 500 Gold from the field of battle!
ENDTEXT
changemoney
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
UNITKILLED
unit=Suppiluliuma II
attacker=anybody
defender=Hittites
@THEN
TEXT
^Weep ye People of Hatti! Suppiluliuma II has been slain in battle!
^The Hittite Army redeems his body for 500 Gold!
ENDTEXT
changemoney
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
UNITKILLED
unit=Tiglath Pileser I
attacker=anybody
defender=Assyrians
@THEN
TEXT
^Woe unto Assyria! Tiglath Pileser I has been slain in battle!
^The victors ransom his battered corpse for 500 Gold!
ENDTEXT
changemoney
receiver=TRIGGERATTACKER
amount=500
@ENDIF

@IF
TURN
turn=7
@THEN
TEXT
^A great king, Tiglath Pileser I, ascends to the throne of Assyria.
^Tremble all ye nations!
ENDTEXT
@THEN
CREATEUNIT
unit=Tiglath Pileser I
owner=Assyrians
veteran=yes
homecity=none
locations
112,34
113,33
114,32
endlocations
PLAYWAVEFILE
leader.wav
@ENDIF

@IF
TURN
turn=45
@THEN
TEXT
An enormous flood rages down the Euphrates, scouring
out a new riverbed! The old watercourse dries up,
leaving the powerful port cities of Kish and Nippur
landlocked! Other cities suddenly find themselves gifted
with an outlet to the sea. Revolts break out as the
economic and political ramifications shake the Babylonian
Empire. In Nippur, traitorous nobles summon a large Elamite
army to aid the rebellion!
ENDTEXT
createunit
owner=Barbarians
unit=Iron Infantry II
veteran=true
homecity=Pasargadae
locations
137,63
138,64
137,67
endlocations
CHANGETERRAIN
terraintype=2
maprect
128,60,128,60,128,60,128,60
PLAYWAVEFILE
flood.wav
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
130,60,130,60,130,60,130,60
createunit
owner=Barbarians
unit=Chariot III
veteran=true
homecity=Pasargadae
locations
137,63
138,64
137,67
endlocations
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
131,61,131,61,131,61,131,61
createunit
owner=Barbarians
unit=Chariot IV
veteran=true
homecity=Pasargadae
locations
137,63
138,64
137,67
endlocations
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
133,61,133,61,133,61,133,61
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=Pasargadae
locations
137,63
138,64
137,67
endlocations
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=8
maprect
133,63,133,63,133,63,133,63
@ENDIF
turn=45
@THEN
CHANGETERRAIN
terraintype=8
maprect
134,64,134,64,134,64,134,64
@ENDIF
turn=45
@THEN
CHANGETERRAIN
terraintype=1
maprect
135,65,135,65,135,65,135,65
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
135,67,135,67,135,67,135,67
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
136,68,136,68,136,68,136,68
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
136,70,136,70,136,70,136,70
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=2
maprect
137,71,137,71,137,71,137,71
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
126,62,126,62,126,62,126,62
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
127,63,127,63,127,63,127,63
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
128,64,128,64,128,64,128,64
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
130,66,130,66,130,66,130,66
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
131,67,131,67,131,67,131,67
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
132,68,132,68,132,68,132,68
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
132,70,132,70,132,70,132,70
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
133,71,133,71,133,71,133,71
@ENDIF
@IF
TURN
turn=45
@THEN
CHANGETERRAIN
terraintype=10
maprect
136,74,136,74,136,74,136,74
@ENDIF

@IF
RANDOMTURN     
denominator=50
@THEN
JUSTONCE
TEXT
As the mighty Tigris and Euphrates rivers pour into the
Persian Gulf, the vast loads of silt they carry begin
to create new land!
ENDTEXT
CHANGETERRAIN
terraintype=8
maprect
148,72,148,72,148,72,148,72
@ENDIF
@IF
RANDOMTURN     
denominator=50
@THEN
JUSTONCE
TEXT
As the mighty Tigris and Euphrates rivers pour into the
Persian Gulf, the vast loads of silt they carry begin
to create new land!
ENDTEXT
CHANGETERRAIN
terraintype=8
maprect
149,73,149,73,149,73,149,73
@ENDIF
@IF
RANDOMTURN     
denominator=50
@THEN
JUSTONCE
TEXT
As the mighty Tigris and Euphrates rivers pour into the
Persian Gulf, the vast loads of silt they carry begin
to create new land!
ENDTEXT
CHANGETERRAIN
terraintype=8
maprect
150,74,150,74,150,74,150,74
@ENDIF
@IF
RANDOMTURN     
denominator=50
@THEN
JUSTONCE
TEXT
As the mighty Tigris and Euphrates rivers pour into the
Persian Gulf, the vast loads of silt they carry begin
to create new land!
ENDTEXT
CHANGETERRAIN
terraintype=8
maprect
148,74,148,74,148,74,148,74
@ENDIF

@IF
TURN
turn=60
@THEN
TEXT
A shepherd returns to Athens bearing silver ore from the
hills to the southeast. The new silver mines of Mt. Laurium
soon make Athens the richest of all the Greek city-states!
ENDTEXT
CHANGETERRAIN
terraintype=9
maprect
15,33,15,33,15,33,15,33
PLAYWAVEFILE
leader.wav
@ENDIF

@IF
TURN
turn=65
@THEN
TEXT
Their new-found wealth causes the Athenians to grow arrogant,
and rouses the jealousy of their neighbors. Sparta bribes the
Thracians, and suddenly Athens finds the enemy camped upon
her doorstep!
ENDTEXT
createunit
owner=Barbarians
unit=Phalanx II
veteran=true
homecity=none
locations
15,31
15,29
14,28
endlocations
PLAYWAVEFILE
citysack.wav
@ENDIF
@IF
TURN
turn=65
@THEN
createunit
owner=Barbarians
unit=Phalanx II
veteran=true
homecity=none
locations
15,31
15,29
14,28
endlocations
@ENDIF
@IF
TURN
turn=65
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=none
locations
15,31
15,29
14,28
endlocations
@ENDIF

@IF
TURN
turn=6
@THEN
TEXT
The King of Phrygia, having learned of the Sea Peoples' assault
upon the Hittite Empire, decides to strike. The Phrygian army
launches a surprise attack upon the city of Ancyra!
ENDTEXT
createunit
owner=Barbarians
unit=Iron Infantry I
veteran=true
homecity=none
locations
67,11
66,12
PLAYWAVEFILE
citysack.wav
@ENDIF
@IF
TURN
turn=6
@THEN
createunit
owner=Barbarians
unit=Iron Infantry II
veteran=true
homecity=Phrygia
locations
67,11
66,12
endlocations
@ENDIF
@IF
TURN
turn=6
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=Phrygia
locations
67,11
66,12
endlocations
@ENDIF
@IF
TURN
turn=6
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=Phrygia
locations
67,11
66,12
endlocations
@ENDIF

@IF
TURN
turn=8
@THEN
TEXT
Revolt breaks out in the Capital city of Hattusas!
The High King reasserts control, but rebellious nobles
escape with the secret to Cyclopean Walls! Taking advantage
of the confusion, the Phrygian army arrives and lays siege to
the capital!
ENDTEXT
GIVETECHNOLOGY
technology=14
receiver=Hittites
createunit
owner=Barbarians
unit=Iron Infantry I
veteran=true
homecity=none
locations
75,15
74,14
74,16
PLAYWAVEFILE
citysack.wav
@ENDIF
@IF
TURN
turn=8
@THEN
createunit
owner=Barbarians
unit=Iron Infantry II
veteran=true
homecity=Phrygia
locations
75,15
74,14
74,16
endlocations
@ENDIF
@IF
TURN
turn=8
@THEN
createunit
owner=Barbarians
unit=Aegean Guard
veteran=true
homecity=Phrygia
locations
71,17
72,18
72,16
endlocations
@ENDIF
@IF
TURN
turn=8
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=Phrygia
locations
75,15
74,14
74,16
endlocations
@ENDIF
@IF
TURN
turn=8
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=Phrygia
locations
75,15
74,14
74,16
endlocations
@ENDIF
@IF
TURN
turn=8
@THEN
createunit
owner=Barbarians
unit=Armored Tower
veteran=true
homecity=none
locations
75,15
74,14
74,16
endlocations
@ENDIF

@IF
TURN
turn=10
@THEN
TEXT
Still gloating over the Sack of Hattusas, the Phrygian King 
casts his eye to the East. Realizing that his control of the
Hittite capital is still tenuous, he decides to "close the
back door" by capturing the city of Kussara!
ENDTEXT
createunit
owner=Barbarians
unit=Iron Infantry II
veteran=true
homecity=Phrygia
locations
79,11
78,12
PLAYWAVEFILE
citysack.wav
@ENDIF
@IF
TURN
turn=10
@THEN
createunit
owner=Barbarians
unit=Iron Infantry II
veteran=true
homecity=Phrygia
locations
79,11
78,12
endlocations
@ENDIF
@IF
TURN
turn=10
@THEN
createunit
owner=Barbarians
unit=Siege Tower
veteran=true
homecity=none
locations
79,11
78,12
endlocations
@ENDIF
@IF
TURN
turn=10
@THEN
createunit
owner=Barbarians
unit=Siege Tower
veteran=true
homecity=Phrygia
locations
79,11
78,12
endlocations
@ENDIF

@IF
TURN
turn=12
@THEN
TEXT
The Sea Peoples have never forgotten their bitter defeat at
the hands of Rameses III. 60 years later they have returned
to launch another attack upon Canopus! This time they feel
certain of victory! Shall their grandfathers be avenged at last?
ENDTEXT
createunit
owner=Sea Peoples
unit=Sea Peoples
veteran=true
homecity=none
locations
44,78
43,77
45,79
PLAYWAVEFILE
citysack.wav
@ENDIF
@IF
TURN
turn=12
@THEN
createunit
owner=Sea Peoples
unit=Sea Peoples
veteran=true
homecity=none
locations
44,78
43,77
45,79
endlocations
@ENDIF
@IF
TURN
turn=12
@THEN
createunit
owner=Sea Peoples
unit=Sea Peoples
veteran=true
homecity=none
locations
43,77
45,79
44,78
endlocations
@ENDIF
@IF
TURN
turn=12
@THEN
createunit
owner=Sea Peoples
unit=Battering Ram
veteran=true
homecity=none
locations
43,77
45,79
44,78
endlocations
@ENDIF
@IF
TURN
turn=12
@THEN
createunit
owner=Sea Peoples
unit=Siege Tower
veteran=true
homecity=none
locations
45,79
44,78
43,77
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=40
@THEN
TEXT
Travelers from the North speak of a large Scythian
Horde heading south in search of cities to sack!
ENDTEXT
createunit
owner=Barbarians
unit=Scythian Horde
veteran=true
homecity=Scythia
locations
98,14
97,15
96,16
99,17
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=30
@THEN
TEXT
With the Caravans come tales of Desert Tribes on the move!
They roam the vast deserts beneath the Fertile Crescent,
but whether they head North, East or West, none can say.
ENDTEXT
createunit
owner=Barbarians
unit=Desert Raiders
veteran=true
homecity=Scythia
locations
98,64
97,65
96,66
99,67
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=30
@THEN
TEXT
Out from the deserts west of the Nile, come rumors
of a Libyan army heading toward Egypt!
ENDTEXT
createunit
owner=Barbarians
unit=Desert Raiders
veteran=true
homecity=Libya
locations
36,98
35,97
34,96
37,99
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=15
@THEN
createunit
owner=Barbarians
unit=Troop Galley
veteran=true
homecity=none
locations
26,32
26,34
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=10
@THEN
createunit
owner=Barbarians
unit=Light Cavalry
veteran=true
homecity=Pasargadae
locations
168,62
165,61
endlocations
@ENDIF

@IF
RANDOMTURN     
denominator=10
@THEN
changemoney
receiver=Barbarians
amount=300
@ENDIF

@ENDEVENTS